package com.zhonghui.mes.mapper;

import com.zhonghui.mes.domain.MesMaterialInspector;
import com.zhonghui.mes.domain.vo.MesMaterialInspectorVo;

import java.util.List;

/**
 * 来料检验
Mapper接口
 * 
 * @author zhonghui
 * @date 2022-05-22
 */
public interface MesMaterialInspectorMapper 
{
    /**
     * 查询来料检验

     * 
     * @param id 来料检验
主键
     * @return 来料检验

     */
    public MesMaterialInspectorVo selectMesMaterialInspectorById(Long id);

    /**
     * 查询来料检验
列表
     * 
     * @param mesMaterialInspectorVo 来料检验

     * @return 来料检验
集合
     */
    public List<MesMaterialInspectorVo> selectMesMaterialInspectorList(MesMaterialInspectorVo mesMaterialInspectorVo);

    /**
     * 新增来料检验

     * 
     * @param mesMaterialInspector 来料检验

     * @return 结果
     */
    public int insertMesMaterialInspector(MesMaterialInspector mesMaterialInspector);

    /**
     * 修改来料检验

     * 
     * @param mesMaterialInspector 来料检验

     * @return 结果
     */
    public int updateMesMaterialInspector(MesMaterialInspector mesMaterialInspector);

    /**
     * 删除来料检验

     * 
     * @param id 来料检验
主键
     * @return 结果
     */
    public int deleteMesMaterialInspectorById(Long id);

    /**
     * 批量删除来料检验

     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMesMaterialInspectorByIds(Long[] ids);
}
